<?php
if (isset($returnpath) && $returnpath != "") { ?>
<script type="text/javascript"><!--//--><![CDATA[//><!--
$(document).ready(function() {
	redirect(Base64Decode('<?php echo $returnpath; ?>'));
});
//--><!]]></script><?php
} ?>